package com.qinhao.loveCrowdFunding.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.qinhao.loveCrowdFunding.pojo.NameContainBO;
import com.qinhao.loveCrowdFunding.pojo.PhoneContainBO;
import com.qinhao.loveCrowdFunding.req.UserRegistryRequest;




@Mapper
public interface UserRegistryMapper  {
    void insertUserByRegistry(UserRegistryRequest userRegistryRequest);
    // 判断手机号是否重复
    PhoneContainBO queryPhone(UserRegistryRequest userRegistryRequest);
    // 判断用户名是否重复
    NameContainBO queryName(UserRegistryRequest userRegistryRequest);
    // 为用户新建注册表
    void insertUserIntergralByRegistry(UserRegistryRequest userRegistryRequest);
}
